﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="controller.aspx.cs" Inherits="EFashion.Employee.controller" %>

<%--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
    </form>
</body>
</html>
--%>
<%
    if (Request.QueryString["task"] != null) {
        String task = Request.QueryString["task"];
        switch (task)
        {
                
            /**************************************************************************************
             *          LOAI SAN PHAM
             *************************************************************************************/
            case "manage_kinds_of_product":
                this.manage_kinds_of_product();
                break;
            case "delete_kinds_of_product":
                this.delete_kinds_of_product();
                break;
            case "delete_checked_kinds_of_product":
                this.delete_checked_kinds_of_product();
                break;
            case "update_kinds_of_product":
                this.update_kinds_of_product();
                break;
            case "search_kinds_of_product":
                this.search_kinds_of_product();
                break;
            case "add_new_kinds_of_product":
                this.add_new_kinds_of_product();
                break;

            /**************************************************************************************
             *          NHA SAN XUAT
             *************************************************************************************/
                
            case "manage_manufacturer":
                this.manage_manufacturer();
                break;
            case "delete_manufacturer":
                this.delete_manufacturer();
                break;
            case "delete_checked_manufacturer":
                this.delete_checked_manufacturer();
                break;
            case "update_manufacturer":
                this.update_manufacturer();
                break;
            case "search_manufacturer":
                this.search_manufacturer();
                break;
            case "add_new_manufacturer":
                this.add_new_manufacturer();
                break;

            /**************************************************************************************
             *          SAN PHAM
             *************************************************************************************/

            case "manage_product":
                this.manage_product();
                break;
            case "update_product":
                this.update_product();
                break;
            case "add_new_product":
                this.add_new_product();
                break;
            case "search_product":
                this.search_product();
                break;
            case "view_detail_product":
                this.view_detail_product();
                break;
            case "upload_img":
                this.upload_img();
                break;

                
            /**************************************************************************************
             *          KHACH HANG
             *************************************************************************************/

            case "manage_customer":
                this.manage_customer();
                break;
            case "view_detail_customer":
                this.view_detail_customer();
                break;
            case "search_customer":
                this.search_customer();
                break;
            //case "view_all_comments_of_customer":
            //    this.view_all_comments_of_customer();
            //    break;

            /**************************************************************************************
             *          NHAN XET 
             *************************************************************************************/

            case "manage_comment":
                this.manage_comment();
                break;
            case "view_detail_comment":
                this.view_detail_comment();
                break;
            case "accept_comment":
                this.accept_comment();
                break;
            case "delete_comment":
                this.delete_comment();
                break;
            case "delete_checked_comment":
                this.delete_checked_comment();
                break;

            /**************************************************************************************
             *          HOA DON
             *************************************************************************************/

            case "manage_bill":
                this.manage_bill();
                break;
            case "view_detail_bill":
                this.view_detail_bill();
                break;
            case "accept_bill":
                this.accept_bill();
                break;
            case "search_bill":
                this.search_bill();
                break;

            /**************************************************************************************
             *          LAP DOANH THU
             *************************************************************************************/

            case "manage_income_default":
                this.manage_income_default();
                break;
            case "manage_income_show":
                this.manage_income_show();
                break;
                                                                                
        }
    }
%>